package com.sui.bigdata.flink.sql.function.scalar;

/**
 * @author YongChen
 * @date 2018/12/25 10:18
 * @description
 * @email yong_chen@sui.com
 */
import com.feidee.fdcommon.util.MD5Util;
import org.apache.flink.table.functions.ScalarFunction;

public class Md5 extends ScalarFunction {
    public String eval(String str) {
        return  MD5Util.string2MD5(str);
    }
}
